package main

import (
	"fmt"
	"os"
	//"gopkg.in/urfave/cli.v2"
)

//参数定义，由外部传值
var (
	Env string
	Version string
)

const (
	APP_NAME = "hids-cli"
	APP_VERSION = "1.0.0.10001"
	APP_USAGE = "etcd-cli是一个简单实用的etcd命令行客户端，帮助你彻底解脱一次又一次的输入etcdctl"
)

func main() {
	fmt.Println("hids-cli")
	app := new(cli.App)
	app.Name = APP_NAME
	app.Version = APP_VERSION
	app.Usage = APP_USAGE
	app.Action = action
	app.Run(os.Args)
}

func action(ctx *cli.Context) error {
	return nil
}